home *** CD-ROM | disk | FTP | other *** search
- Path: neptune.cs.trinity.edu!janus8!trauschu
- From: trauschu@cs.trinity.edu (Megaman)
- Newsgroups: comp.programming,alt.msdos.programmer,comp.lang.c++
- Subject: Re: How to detect HD
- Followup-To: comp.programming,alt.msdos.programmer,comp.lang.c++
- Date: 16 Jan 1996 21:05:01 GMT
- Organization: Trinity University
- Message-ID: <4dh3tt$5lu@neptune.cs.trinity.edu>
- References: <4d5s19$m7l@nosy.bart.nl> <4de9g4$sc6@hades.rz.uni-sb.de>
- NNTP-Posting-Host: janus8.cs.trinity.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- B
- > int get_nr_hds(void)
- > {
- > int res = 0;
-
- > printf("Hello User! Please open your computer and check the\n");
- > printf("number of HDs you have installed. Type that number: ");
- > fscanf(stdin, "%d", &res);
- > return res;
- > }
-
- I must say this was the most entertaining message I have read here in a while.
- All kidding aside, I have tried a few procedures for detecting the number
- of drives, but is there any one way that is best (aside from the above) :-)
-
- Thomas
-
- --
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- "Hakuna Matata" - it means no worries. - "C'est la vie"
-
- Computer Science Major
- 3D Graphics Interests
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-